package com.insurance.mapper;



import com.insurance.pojo.DriverEvaluation;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: drc
 * Date: 2020/10/29 16:28
 * Description:
 * Version: V1.0
 */
public interface DriverEvalMapper {

    int updateSensitiveWords(String sensitive_words);

    List<Map> querySensitiveWords();

    int addDriverEval(DriverEvaluation driverEvaluation);

    int delDriverEval(Integer id);

    List<Map> findDriverEval1(@Param("userName") String userName, @Param("orderTime") String orderTime, @Param("orderTimeEnd") String orderTimeEnd);
    List<Map> findDriverEval2(@Param("driverName")String driverName, @Param("orderTime") String orderTime, @Param("orderTimeEnd") String orderTimeEnd);
    List<Map> findDriverEval3(@Param("userPhone")String userPhone, @Param("orderTime") String orderTime, @Param("orderTimeEnd") String orderTimeEnd);
    List<Map> findDriverEval4(@Param("orderNumber") String orderNumber, @Param("orderTime") String orderTime, @Param("orderTimeEnd") String orderTimeEnd, @Param("userId") Integer userId);
}
